window.onclick = function() {

    var overview = document.getElementById("overview");
    var change = document.getElementById("change");
    var list1 = document.getElementById("edit1");
    var list2 = document.getElementById("edit2");


    overview.onclick = function() {
        list1.style.display = "block";
        list2.style.display = "none";
        overview.style.backgroundColor = "white";
        change.style.backgroundColor = "#efeeee";
    }
    change.onclick = function() {
        list2.style.display = "block";
        list1.style.display = "none";
        change.style.backgroundColor = "white"
        overview.style.backgroundColor = "#efeeee";
    }
}